package model

import "github.com/jinzhu/gorm"

type User struct {
	gorm.Model
	Password string `json:"password" gorm:"type:varchar(255);not null"`
	Mobile   string `json:"mobile" gorm:"type:varchar(20);not null"`
	NickName string `json:"nick_name" gorm:"column:nick_name; type:varchar(20); not null"`
}
